const express = require('express')
const app = express()
const port = 3000

const data = {
	banner:[
		{
			"img":"http://gankai.gitee.io/vue-jd-h5/img/banner5.fb21a19b.jpg"
		},
		{
			"img":"http://gankai.gitee.io/vue-jd-h5/img/banner7.f187995a.jpg"
		},
		{
			"img":"http://gankai.gitee.io/vue-jd-h5/img/banner8.2b15b757.jpg"
		}
	]
}




app.get('/', (req, res) => {
  res.send(data)
})

app.listen(port, () => {
  console.log(`Example app listening on port ${port}`)
})